package com.jt.demo3.service;

import com.jt.demo2.anno.TX;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @TX
    @Override
    public void addUser() {
        System.out.println("邢增用户");
    }
    @Override
    public String findName() {
        System.out.println(1/0);
        return "春节快乐";
    }
}
